package com.temple.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.temple.model.entity.User;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author yanchao
 * @since 2021-12-29
 */
public interface IUserService extends IService<User> {
    /**
     * 添加扩展数据
     * @param id
     * @param key
     * @param value
     * @return
     */
   Boolean putFeature(Integer id,String key,Object value);


    Object getFeature( Integer id,  String key);


//   Boolean updateUseName(Integer id,String userName);


    Boolean branchFeature(Integer id, Map<String,Object> value);


    Map<String,Object> getBranchFeature(Integer id, List<String> keys);


}
